﻿using System.ComponentModel.DataAnnotations;

namespace eduscrum.Models
{
    public class Phase
    {
        public int PhaseID { get; set; }
        public string Name { get; set; }
        
        /*public int Number { get; set; }*/

        //Foreign key with constraint and ONDELETE CASCADE
        [Required]
        public virtual Project Project { get; set; }
    }
}